package com.yuandian.management.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yuandian.management.vo.AgentThresholdPojo;

import java.util.List;

/**
 * <p>
 * agent阀值表 服务类
 * </p>
 *
 * @author fucx
 * @since 2021-01-27
 */
public interface IAgentThresholdService extends IService<AgentThresholdPojo> {
	/**
     * 查询agent阀值信息表
     * 
     * @return
     */
    public List<AgentThresholdPojo> queryList();

    /**
     * 根据code获取阀值实体
     * 
     * @param thresholdCode
     * @return
     */
    public AgentThresholdPojo queryAgentThresholdByCode(String thresholdCode);

    /**
     * 根据Code更新阀值信息
     * 
     * @param threshold
     * @return
     */
    public int updateByCodeSelective(AgentThresholdPojo threshold);
}
